import { isDev } from './env'
const IS_DEV = isDev();

// 会员服务
const MEMBER_DOMAIN_DEV = 'https://member.dev.biling.club';
const MEMBER_DOMAIN_PROD = 'https://member.api.biling.club';
export const MEMBER_DOMAIN = IS_DEV ? MEMBER_DOMAIN_DEV : MEMBER_DOMAIN_PROD;

// 商城服务
const SHOP_DMAIN_DEV = 'https://mall.dev.biling.club';
const SHOP_DMAIN_PROD = 'https://mall.api.biling.club';
export const SHOP_DMAIN = IS_DEV ? SHOP_DMAIN_DEV : SHOP_DMAIN_PROD;

// 公共服务
const OPEN_DMAIN_DEV = 'https://open.dev.biling.club';
const OPEN_DMAIN_PROD = 'https://open.api.biling.club';
export const OPEN_DMAIN = IS_DEV ? OPEN_DMAIN_DEV : OPEN_DMAIN_PROD;

// 营销服务
const MARKET_DOAMIN_DEV = 'https://bp-mweb.dev.biling.club';
const MARKET_DOAMIN_PROD = 'https://bp-mweb.api.biling.club';
export const MARKET_DOMAIN = IS_DEV ? MARKET_DOAMIN_DEV : MARKET_DOAMIN_PROD;

// 仓库服务
const INVENTORY_DOMAIN_DEV = 'https://inventory.dev.biling.club';
const INVENTORY_DOMAIN_PROD = 'https://inventory.api.biling.club';
export const INVENTORY_DOMAIN = IS_DEV ? INVENTORY_DOMAIN_DEV : INVENTORY_DOMAIN_PROD;
